package com.culturalCenter.dataCenter.service.user;

import com.culturalCenter.dataCenter.entity.user.UserDayPoint;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface UserDayPointService {

    /**
     * UserDayPoint分页查询
     *
     * @param page
     * @param size
     *
     * @return
     */
    PageInfo<UserDayPoint> findPage(int page, int size);

    /**
     * 删除UserDayPoint
     *
     * @param id
     */
    Integer delete(String id);

    /**
     * 修改UserDayPoint数据
     *
     * @param userDayPoint
     */
    Integer update(UserDayPoint userDayPoint);

    /**
     * 新增UserDayPoint
     *
     * @param userDayPoint
     */
    Integer add(UserDayPoint userDayPoint);

    /**
     * 根据ID查询UserDayPoint
     *
     * @param id
     *
     * @return
     */
    UserDayPoint findById(String id);

    /**
     * 查询所有UserDayPoint
     *
     * @return
     */
    List<UserDayPoint> findAll(UserDayPoint userDayPoint);

}
